package models;

import play.db.jpa.Model;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 13-8-22
 * Time: 下午8:24
 * To change this template use File | Settings | File Templates.
 */
@Entity(name="T_INTEGRATION")
public class Integration  extends Model {

    @Column(name = "ID")
    public Long id;

    @Column(name = "START_INTEGRATION")
    public Integer startIntegration;

    @Column(name = "END_INTEGRATION")
    public Integer endIntegration;

    @Column(name = "NAME")
   	String name;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getStartIntegration() {
        return startIntegration;
    }

    public void setStartIntegration(Integer startIntegration) {
        this.startIntegration = startIntegration;
    }

    public Integer getEndIntegration() {
        return endIntegration;
    }

    public void setEndIntegration(Integer endIntegration) {
        this.endIntegration = endIntegration;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
